using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

namespace umbraco.cms.businesslogic.packager {
    public class Settings {

        public static string PackagerRoot {
            get { return GlobalSettings.StorageDirectory + System.IO.Path.DirectorySeparatorChar.ToString() + "packages"; }
        }

        public static string PackagesStorage {
            get { return GlobalSettings.StorageDirectory + System.IO.Path.DirectorySeparatorChar.ToString() + "packages" + System.IO.Path.DirectorySeparatorChar.ToString() + "created"; }
        }

        public static string InstalledPackagesStorage {
            get { return GlobalSettings.StorageDirectory + System.IO.Path.DirectorySeparatorChar.ToString() + "packages" + System.IO.Path.DirectorySeparatorChar.ToString() + "installed"; }
        }

        public static string InstalledPackagesSettings {
            get { return GlobalSettings.StorageDirectory + System.IO.Path.DirectorySeparatorChar.ToString() + "packages" + System.IO.Path.DirectorySeparatorChar.ToString() + "installed" + System.IO.Path.DirectorySeparatorChar.ToString() + "installedPackages.config"; }
        }

        public static string CreatedPackagesSettings {
            get { return GlobalSettings.StorageDirectory + System.IO.Path.DirectorySeparatorChar.ToString() + "packages" + System.IO.Path.DirectorySeparatorChar.ToString() + "created" + System.IO.Path.DirectorySeparatorChar.ToString() + "createdPackages.config"; }
        }

        public static string PackageFileExtension {
            get { return "zip"; }
        }
    }

}
